package com.alks.function.data.request.administration;

import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDate;

@Getter
@Setter
@NoArgsConstructor
public class AttendanceDetailsRequest extends PageParam {

    @ApiModelProperty("部门")
    private String deptName;

    @ApiModelProperty("工号")
    private String workerId;

    @ApiModelProperty("姓名")
    private String workerName;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty("入厂开始时间")
    private LocalDate inTime;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty("入厂结束时间")
    private LocalDate outTime;

    @ApiModelProperty("年月")
    private String years;

    private String companyId;
}
